package top.gbyun.core.msg;

import lombok.Data;
import top.gbyun.core.enmus.ComponentLifecycleEvent;

/**
 * @author gengbin
 * @date 2024-12-25-16:29
 */
@Data
public class ComponentLifecycleMsg {
    private final String flowId;
    private final String type;
    private final String entityId;
    private final ComponentLifecycleEvent event;

    public ComponentLifecycleMsg(String flowId, String type, String entityId, ComponentLifecycleEvent event) {
        this.flowId = flowId;
        this.type = type;
        this.entityId = entityId;
        this.event = event;
    }
}
